package com.wwk.dao;

import com.wwk.pojo.Order;
import com.wwk.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderDao {
	//查看输入的日期是否已经设置
    public OrderSetting checkDate(Date orderDate);
    public void add(Order order);
    public List<Order> findByCondition(Order order);
    public Map findById4Detail(Integer id);
    public Integer findOrderCountByDate(String date);
    public Integer findOrderCountAfterDate(String date);
    public Integer findVisitsCountByDate(String date);
    public Integer findVisitsCountAfterDate(String date);
    public List<Map> findHotSetmeal();
    public OrderSetting checkDate_string(String date);
}
